package com.pers.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @Author: 黄建
 * @Date: 2020/3/7 23:04
 */
@SpringBootApplication
@EnableDiscoveryClient //该注解用户想使用consul或者zookeeper作为注册中心时注册服务
@MapperScan(basePackages = {"com.pers.springcloud.mapper"})
public class PaymentMain8004 {
    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8004.class,args);
    }
}
